package com.ilvyou.data.lcs;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectPheadEntity {
    private Long collectid;
    private String collectcode;
    private Long actid;
    private String actname;
    private BigDecimal tpayamount;
    private BigDecimal prepayamount;
    private BigDecimal pbillamount;
    private BigDecimal pinterestamount;
    private Integer poverdueday;
    private BigDecimal freeamount;
    private BigDecimal arepayamount;
    private BigDecimal abillamount;
    private BigDecimal ainterestamount;
    private BigDecimal cinterestamount;
    private BigDecimal prestbillamount;
    private BigDecimal prestinsamount;
    private Integer firstflag;
    private Integer finishedflag;
    private Timestamp finisheddate;
    private String periodids;
    private String ruleids;
    private String levelcodes;
    private String poverdays;
    private String lastcollectiontype;
    private String lastcollectionname;
    private String lastcollectiondate;
    private String collectstatus;
    private Integer status;
    private String companyname;
    private String createdname;
    private Timestamp createdon;
    private Long createdby;
    private String createdip;
    private String lastedname;
    private Timestamp lastedon;
    private Long lastedby;
    private String lastedip;

    public Long getCollectid() {
        return collectid;
    }

    public void setCollectid(Long collectid) {
        this.collectid = collectid;
    }

    public String getCollectcode() {
        return collectcode;
    }

    public void setCollectcode(String collectcode) {
        this.collectcode = collectcode;
    }

    public Long getActid() {
        return actid;
    }

    public void setActid(Long actid) {
        this.actid = actid;
    }

    public String getActname() {
        return actname;
    }

    public void setActname(String actname) {
        this.actname = actname;
    }

    public BigDecimal getTpayamount() {
        return tpayamount;
    }

    public void setTpayamount(BigDecimal tpayamount) {
        this.tpayamount = tpayamount;
    }

    public BigDecimal getPrepayamount() {
        return prepayamount;
    }

    public void setPrepayamount(BigDecimal prepayamount) {
        this.prepayamount = prepayamount;
    }

    public BigDecimal getPbillamount() {
        return pbillamount;
    }

    public void setPbillamount(BigDecimal pbillamount) {
        this.pbillamount = pbillamount;
    }

    public BigDecimal getPinterestamount() {
        return pinterestamount;
    }

    public void setPinterestamount(BigDecimal pinterestamount) {
        this.pinterestamount = pinterestamount;
    }

    public Integer getPoverdueday() {
        return poverdueday;
    }

    public void setPoverdueday(Integer poverdueday) {
        this.poverdueday = poverdueday;
    }

    public BigDecimal getFreeamount() {
        return freeamount;
    }

    public void setFreeamount(BigDecimal freeamount) {
        this.freeamount = freeamount;
    }

    public BigDecimal getArepayamount() {
        return arepayamount;
    }

    public void setArepayamount(BigDecimal arepayamount) {
        this.arepayamount = arepayamount;
    }

    public BigDecimal getAbillamount() {
        return abillamount;
    }

    public void setAbillamount(BigDecimal abillamount) {
        this.abillamount = abillamount;
    }

    public BigDecimal getAinterestamount() {
        return ainterestamount;
    }

    public void setAinterestamount(BigDecimal ainterestamount) {
        this.ainterestamount = ainterestamount;
    }

    public BigDecimal getCinterestamount() {
        return cinterestamount;
    }

    public void setCinterestamount(BigDecimal cinterestamount) {
        this.cinterestamount = cinterestamount;
    }

    public BigDecimal getPrestbillamount() {
        return prestbillamount;
    }

    public void setPrestbillamount(BigDecimal prestbillamount) {
        this.prestbillamount = prestbillamount;
    }

    public BigDecimal getPrestinsamount() {
        return prestinsamount;
    }

    public void setPrestinsamount(BigDecimal prestinsamount) {
        this.prestinsamount = prestinsamount;
    }

    public Integer getFirstflag() {
        return firstflag;
    }

    public void setFirstflag(Integer firstflag) {
        this.firstflag = firstflag;
    }

    public Integer getFinishedflag() {
        return finishedflag;
    }

    public void setFinishedflag(Integer finishedflag) {
        this.finishedflag = finishedflag;
    }

    public Timestamp getFinisheddate() {
        return finisheddate;
    }

    public void setFinisheddate(Timestamp finisheddate) {
        this.finisheddate = finisheddate;
    }

    public String getPeriodids() {
        return periodids;
    }

    public void setPeriodids(String periodids) {
        this.periodids = periodids;
    }

    public String getRuleids() {
        return ruleids;
    }

    public void setRuleids(String ruleids) {
        this.ruleids = ruleids;
    }

    public String getLevelcodes() {
        return levelcodes;
    }

    public void setLevelcodes(String levelcodes) {
        this.levelcodes = levelcodes;
    }

    public String getPoverdays() {
        return poverdays;
    }

    public void setPoverdays(String poverdays) {
        this.poverdays = poverdays;
    }

    public String getLastcollectiontype() {
        return lastcollectiontype;
    }

    public void setLastcollectiontype(String lastcollectiontype) {
        this.lastcollectiontype = lastcollectiontype;
    }

    public String getLastcollectionname() {
        return lastcollectionname;
    }

    public void setLastcollectionname(String lastcollectionname) {
        this.lastcollectionname = lastcollectionname;
    }

    public String getLastcollectiondate() {
        return lastcollectiondate;
    }

    public void setLastcollectiondate(String lastcollectiondate) {
        this.lastcollectiondate = lastcollectiondate;
    }

    public String getCollectstatus() {
        return collectstatus;
    }

    public void setCollectstatus(String collectstatus) {
        this.collectstatus = collectstatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public String getCreatedname() {
        return createdname;
    }

    public void setCreatedname(String createdname) {
        this.createdname = createdname;
    }

    public Timestamp getCreatedon() {
        return createdon;
    }

    public void setCreatedon(Timestamp createdon) {
        this.createdon = createdon;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public String getCreatedip() {
        return createdip;
    }

    public void setCreatedip(String createdip) {
        this.createdip = createdip;
    }

    public String getLastedname() {
        return lastedname;
    }

    public void setLastedname(String lastedname) {
        this.lastedname = lastedname;
    }

    public Timestamp getLastedon() {
        return lastedon;
    }

    public void setLastedon(Timestamp lastedon) {
        this.lastedon = lastedon;
    }

    public Long getLastedby() {
        return lastedby;
    }

    public void setLastedby(Long lastedby) {
        this.lastedby = lastedby;
    }

    public String getLastedip() {
        return lastedip;
    }

    public void setLastedip(String lastedip) {
        this.lastedip = lastedip;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectPheadEntity that = (CollectPheadEntity) o;

        if (collectid != null ? !collectid.equals(that.collectid) : that.collectid != null) return false;
        if (collectcode != null ? !collectcode.equals(that.collectcode) : that.collectcode != null) return false;
        if (actid != null ? !actid.equals(that.actid) : that.actid != null) return false;
        if (actname != null ? !actname.equals(that.actname) : that.actname != null) return false;
        if (tpayamount != null ? !tpayamount.equals(that.tpayamount) : that.tpayamount != null) return false;
        if (prepayamount != null ? !prepayamount.equals(that.prepayamount) : that.prepayamount != null) return false;
        if (pbillamount != null ? !pbillamount.equals(that.pbillamount) : that.pbillamount != null) return false;
        if (pinterestamount != null ? !pinterestamount.equals(that.pinterestamount) : that.pinterestamount != null)
            return false;
        if (poverdueday != null ? !poverdueday.equals(that.poverdueday) : that.poverdueday != null) return false;
        if (freeamount != null ? !freeamount.equals(that.freeamount) : that.freeamount != null) return false;
        if (arepayamount != null ? !arepayamount.equals(that.arepayamount) : that.arepayamount != null) return false;
        if (abillamount != null ? !abillamount.equals(that.abillamount) : that.abillamount != null) return false;
        if (ainterestamount != null ? !ainterestamount.equals(that.ainterestamount) : that.ainterestamount != null)
            return false;
        if (cinterestamount != null ? !cinterestamount.equals(that.cinterestamount) : that.cinterestamount != null)
            return false;
        if (prestbillamount != null ? !prestbillamount.equals(that.prestbillamount) : that.prestbillamount != null)
            return false;
        if (prestinsamount != null ? !prestinsamount.equals(that.prestinsamount) : that.prestinsamount != null)
            return false;
        if (firstflag != null ? !firstflag.equals(that.firstflag) : that.firstflag != null) return false;
        if (finishedflag != null ? !finishedflag.equals(that.finishedflag) : that.finishedflag != null) return false;
        if (finisheddate != null ? !finisheddate.equals(that.finisheddate) : that.finisheddate != null) return false;
        if (periodids != null ? !periodids.equals(that.periodids) : that.periodids != null) return false;
        if (ruleids != null ? !ruleids.equals(that.ruleids) : that.ruleids != null) return false;
        if (levelcodes != null ? !levelcodes.equals(that.levelcodes) : that.levelcodes != null) return false;
        if (poverdays != null ? !poverdays.equals(that.poverdays) : that.poverdays != null) return false;
        if (lastcollectiontype != null ? !lastcollectiontype.equals(that.lastcollectiontype) : that.lastcollectiontype != null)
            return false;
        if (lastcollectionname != null ? !lastcollectionname.equals(that.lastcollectionname) : that.lastcollectionname != null)
            return false;
        if (lastcollectiondate != null ? !lastcollectiondate.equals(that.lastcollectiondate) : that.lastcollectiondate != null)
            return false;
        if (collectstatus != null ? !collectstatus.equals(that.collectstatus) : that.collectstatus != null)
            return false;
        if (status != null ? !status.equals(that.status) : that.status != null) return false;
        if (companyname != null ? !companyname.equals(that.companyname) : that.companyname != null) return false;
        if (createdname != null ? !createdname.equals(that.createdname) : that.createdname != null) return false;
        if (createdon != null ? !createdon.equals(that.createdon) : that.createdon != null) return false;
        if (createdby != null ? !createdby.equals(that.createdby) : that.createdby != null) return false;
        if (createdip != null ? !createdip.equals(that.createdip) : that.createdip != null) return false;
        if (lastedname != null ? !lastedname.equals(that.lastedname) : that.lastedname != null) return false;
        if (lastedon != null ? !lastedon.equals(that.lastedon) : that.lastedon != null) return false;
        if (lastedby != null ? !lastedby.equals(that.lastedby) : that.lastedby != null) return false;
        if (lastedip != null ? !lastedip.equals(that.lastedip) : that.lastedip != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = collectid != null ? collectid.hashCode() : 0;
        result = 31 * result + (collectcode != null ? collectcode.hashCode() : 0);
        result = 31 * result + (actid != null ? actid.hashCode() : 0);
        result = 31 * result + (actname != null ? actname.hashCode() : 0);
        result = 31 * result + (tpayamount != null ? tpayamount.hashCode() : 0);
        result = 31 * result + (prepayamount != null ? prepayamount.hashCode() : 0);
        result = 31 * result + (pbillamount != null ? pbillamount.hashCode() : 0);
        result = 31 * result + (pinterestamount != null ? pinterestamount.hashCode() : 0);
        result = 31 * result + (poverdueday != null ? poverdueday.hashCode() : 0);
        result = 31 * result + (freeamount != null ? freeamount.hashCode() : 0);
        result = 31 * result + (arepayamount != null ? arepayamount.hashCode() : 0);
        result = 31 * result + (abillamount != null ? abillamount.hashCode() : 0);
        result = 31 * result + (ainterestamount != null ? ainterestamount.hashCode() : 0);
        result = 31 * result + (cinterestamount != null ? cinterestamount.hashCode() : 0);
        result = 31 * result + (prestbillamount != null ? prestbillamount.hashCode() : 0);
        result = 31 * result + (prestinsamount != null ? prestinsamount.hashCode() : 0);
        result = 31 * result + (firstflag != null ? firstflag.hashCode() : 0);
        result = 31 * result + (finishedflag != null ? finishedflag.hashCode() : 0);
        result = 31 * result + (finisheddate != null ? finisheddate.hashCode() : 0);
        result = 31 * result + (periodids != null ? periodids.hashCode() : 0);
        result = 31 * result + (ruleids != null ? ruleids.hashCode() : 0);
        result = 31 * result + (levelcodes != null ? levelcodes.hashCode() : 0);
        result = 31 * result + (poverdays != null ? poverdays.hashCode() : 0);
        result = 31 * result + (lastcollectiontype != null ? lastcollectiontype.hashCode() : 0);
        result = 31 * result + (lastcollectionname != null ? lastcollectionname.hashCode() : 0);
        result = 31 * result + (lastcollectiondate != null ? lastcollectiondate.hashCode() : 0);
        result = 31 * result + (collectstatus != null ? collectstatus.hashCode() : 0);
        result = 31 * result + (status != null ? status.hashCode() : 0);
        result = 31 * result + (companyname != null ? companyname.hashCode() : 0);
        result = 31 * result + (createdname != null ? createdname.hashCode() : 0);
        result = 31 * result + (createdon != null ? createdon.hashCode() : 0);
        result = 31 * result + (createdby != null ? createdby.hashCode() : 0);
        result = 31 * result + (createdip != null ? createdip.hashCode() : 0);
        result = 31 * result + (lastedname != null ? lastedname.hashCode() : 0);
        result = 31 * result + (lastedon != null ? lastedon.hashCode() : 0);
        result = 31 * result + (lastedby != null ? lastedby.hashCode() : 0);
        result = 31 * result + (lastedip != null ? lastedip.hashCode() : 0);
        return result;
    }
}
